/*
* Configuration of module: PduR
*
* Created by:   qinminyuan
* Copyright:    (C)  
*
* Configured for (MCU):    MCU
*
* Module vendor:           ArcCore
* Generator version:       01.00
*/

#ifndef PDUR_PB_CFG_H_H
#define PDUR_PB_CFG_H_H
#if !(((PDUR_SW_MAJOR_VERSION == 2) && (PDUR_SW_MINOR_VERSION == 0)) )
#error PduR: Configuration file expected BSW module version to be 2.0.*
#endif
#if defined(USE_DCM)
#include "Dcm.h"
#endif
#if defined(USE_COM)
#include "Com.h"
#endif
#if defined(USE_CANIF)
#include "CanIf.h"
#endif
#if defined(USE_CANTP)
#include "CanTp.h"
#endif

extern const PduR_PBConfigType PduR_Config;

#if(PDUR_ZERO_COST_OPERATION == STD_OFF)
#define PDUR_ID_Phys_DiagRx                      0
#define PDUR_ID_Func_DiagRx                      1
#define PDUR_ID_Phys_DiagTx                      2
#define PDUR_ID2_Phys_DiagTx                     2

#else
#define PDUR_ID_Phys_DiagRx                      DCM_ID_Phys_DiagRx
#define PDUR_ID2_Phys_DiagRx                     CANTP_ID_Phys_DiagRx
#define PDUR_ID_Func_DiagRx                      DCM_ID_Func_DiagRx
#define PDUR_ID2_Func_DiagRx                     CANTP_ID_Func_DiagRx
#define PDUR_ID_Phys_DiagTx                      CANTP_ID_Phys_DiagTx
#define PDUR_ID2_Phys_DiagTx                     DCM_ID_Phys_DiagTx

#endif

#endif /* PDUR_PB_CFG_H_H */

